
        <f:view>
            <h:form>
        <rich:panel id="panel" style="border: 0px">
            <h:messages id="mal1" globalOnly="true"/>
            <div align="right" >
                <h:commandButton value="Save" action="#{SubscriptionsBean.saveSubscription}" type="submit">
                    <f:setPropertyActionListener target="#{SubscriptionsBean.newSubscription}" value="#{false}" />
                </h:commandButton>
                <h:commandButton value="Cancel" immediate="true" action="success">
                </h:commandButton>
            </div>
            <h:panelGrid columns="2" >
                <h:outputText value="Forum: " />
                <h:selectOneMenu value="#{SubscriptionsBean.forumId}" >
                    <c:forEach items="#{ForumsRequest.forums}" var="forum">
                        <f:selectItem itemValue="#{forum.id}" itemLabel="#{forum.name}" />
                    </c:forEach>
                </h:selectOneMenu>
                <h:outputText value="Email me: " />
                <h:selectOneMenu value="#{SubscriptionsBean.subscription.strategy}" >
                    <f:selectItem itemValue="new postings to threads i've posted in (limited)" itemLabel="new postings to threads i've posted in (limited)" />
                    <f:selectItem itemValue="all new postings to this forum (full) caution!" itemLabel="all new postings to this forum (full) caution!" />
                </h:selectOneMenu>
            </h:panelGrid>
        </rich:panel>
        </h:form>
        </f:view> 

